<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Backing Up a GaussDB T Cluster">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002200001785.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002230045625">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Backing Up a GaussDB T Cluster</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002230045625"></a><a name="EN-US_TOPIC_0000002230045625"></a>

<h1 class="topictitle1">Backing Up a GaussDB T Cluster</h1>
<div><p>Before performing backup, you need to associate the resources to be protected with a specified SLA. The system protects the resources and periodically executes backup jobs based on the SLA. You can perform a backup job immediately through manual backup.</p>
<div class="section"><h4 class="sectiontitle">Precautions</h4><ul id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_ul6389195411533"><li id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_li133901854145314">If a full backup fails and the next backup is a log backup, the log backup will fail because the log backup depends on the copy generated in the last successful full backup. In this case, manually perform a full backup.</li></ul>
<ul id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_en-us_topic_0000001311216849_ul18727123312225"><li id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_en-us_topic_0000001311216849_li147271733132211">During manual backup, the parameters (except <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_uicontrol20062152711357"><b>Automatic Retry</b></span>) defined in the SLA, such as <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_uicontrol67842863911357"><b>Rate Limiting Policy</b></span>, are applied to the manual backup job.</li><li id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_en-us_topic_0000001311216849_li653882315253">Copies generated by manual backup are retained for the duration defined in the SLA.</li></ul>
</div>
<div class="section"><h4 class="sectiontitle">Prerequisites</h4><p>The database needs to run in <strong>ARCHIVELOG</strong> mode and redo logs has been archived to multiple locations. For details about how to query and change the log archiving mode, see <a href="en-us_topic_0000002164760762.html">Step 2: Setting the Redo Log Mode</a>.</p>
</div>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002164760786_en-us_topic_0000002199964685_uicontrol174093353365"><b><span id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002164760786_en-us_topic_0000002199964685_text164093351368"><strong>Protection</strong></span> &gt; Databases &gt; GaussDB T</b></span>.</span></li><li><span>Select a database instance whose <strong>Type</strong> is <strong>Cluster</strong> and click <span class="uicontrol"><b><span><strong>Protect</strong></span></b></span>.</span><p><p>You can also select multiple database instances for batch protection.</p>
</p></li><li><span>Select an SLA.</span><p><div class="p" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_p16181740836">You can also click <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_uicontrol169554520714"><b><span id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_text179554516717"><strong>Create</strong></span></b></span> to create an SLA.<div class="note" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_note25947145710"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_p125947145711"><span id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_ph1413818422327">If a WORM policy has been configured for the resources to be protected, select an SLA without a WORM policy to avoid WORM policy conflicts.</span></p>
</div></div>
</div>
</p></li></ol><ol start="4"><li><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_uicontrol23691650677"><b>OK</b></span>.</span><p><p id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_en-us_topic_0000001656691397_p25041111535">If the current system time is later than the start time of the first backup specified in the SLA, you can select <strong id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_b9624185216713">Execute manual backup now</strong> in the dialog box that is displayed or choose to perform automatic backup periodically based on the backup policy set in the SLA.</p>
</p></li><li><strong>Optional: </strong><span>Execute manual backup.</span><p><p>If you want to execute a backup job immediately, perform manual backup through the following operations. Otherwise, skip this step.</p>
<ol type="a"><li>Choose <strong id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_b749004619208">More</strong> &gt; <strong id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_b1529819498203">Manual Backup</strong> in the row containing the database to be backed up. Multiple resources can be manually backed up at the same time.</li><li>Set the name of the copy generated during manual backup.<p id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_p444210492470">If this parameter is left unspecified, the system sets the name to <strong id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_b55437034011357">backup_</strong><em id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_i152849329911357">Timestamp</em> by default.</p>
</li><li>Select a protection policy, which can be <span><strong>Full Backup</strong></span>, <span><strong>Incremental Backup</strong></span>, <span><strong>Differential Backup</strong></span>, or <span><strong>Log Backup</strong></span>.<div class="note"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_p13522118194919"><span id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002200146973_ph19374310343">If the selected protection policy is different from that configured in the associated SLA for 1.6.0 and later versions, the WORM configuration does not take effect.</span></p>
</div></div>
</li><li>Click <span class="uicontrol" id="EN-US_TOPIC_0000002230045625__en-us_topic_0000002230080113_en-us_topic_0000001311216849_uicontrol37271318124613"><b>OK</b></span>.</li></ol>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002200001785.html">Step 7: Performing Backup</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>